package com.nmsl.medicine.mapper;

import java.util.List;
import com.nmsl.medicine.domain.MedicineManufacturer;

/**
 * 药品生产厂家Mapper接口
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
public interface MedicineManufacturerMapper 
{
    /**
     * 查询药品生产厂家
     * 
     * @param manufacturerId 药品生产厂家主键
     * @return 药品生产厂家
     */
    public MedicineManufacturer selectMedicineManufacturerByManufacturerId(Long manufacturerId);

    /**
     * 查询药品生产厂家列表
     * 
     * @param medicineManufacturer 药品生产厂家
     * @return 药品生产厂家集合
     */
    public List<MedicineManufacturer> selectMedicineManufacturerList(MedicineManufacturer medicineManufacturer);

    /**
     * 新增药品生产厂家
     * 
     * @param medicineManufacturer 药品生产厂家
     * @return 结果
     */
    public int insertMedicineManufacturer(MedicineManufacturer medicineManufacturer);

    /**
     * 修改药品生产厂家
     * 
     * @param medicineManufacturer 药品生产厂家
     * @return 结果
     */
    public int updateMedicineManufacturer(MedicineManufacturer medicineManufacturer);

    /**
     * 删除药品生产厂家
     * 
     * @param manufacturerId 药品生产厂家主键
     * @return 结果
     */
    public int deleteMedicineManufacturerByManufacturerId(Long manufacturerId);

    /**
     * 批量删除药品生产厂家
     * 
     * @param manufacturerIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMedicineManufacturerByManufacturerIds(Long[] manufacturerIds);
}
